from enum import Enum


# 放置ship的结果类型
class PlaceResult(Enum):
    SUCCESS = 1
    OFF_BORDER = 2
    CONFLICT = 3


class AttackResult(Enum):
    MISS = 1
    HIT = 2
    SUNK = 3
    GAME_OVER = 4
